import { Column, Entity, PrimaryGeneratedColumn } from 'typeorm';
import { BaseEntity } from './base.entity';

/**
 * 用户匹配需求表
 */
@Entity('dynamic_type')
export class DynamicType extends BaseEntity {
  @PrimaryGeneratedColumn({
    type: 'int',
    name: 'id',
    comment: '主键，自增',
  })
  id: number;

  @Column({
    type: 'varchar',
    name: 'name',
    comment: '动态类型名称',
  })
  name: string;
}
